package com.cbs.persistencecache;

/**
 * Created by brochexu on 5/21/15.
 */
public interface PersistenceCache {
    void setCache(String scope, String tag, String key, String value);

    String getCache(String scope, String tag, String key);

    void getCache(String scope, String tag, String key, CacheListener cacheListener);

    int getCacheSize();

    void clearCache();

    void removeCache(String scope);

    void removeCache(String scope, String tag);

    void removeCache(String scope, String tag, String key);
}
